package com.xinnet.mms.pushhistory.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.xinnet.mms.entity.PushHistory;

@Repository
public interface PushHistoryDao {
	/**
	 * 根据客户ID获取推送历史记录
	 * @param customId
	 * @return
	 */
	public List<PushHistory> getPushHistoryByCustomId(String customId);
	
	/**
	 * 根据被推送人获取推送记录
	 * @param pushEmpNo
	 * @return
	 */
	public PushHistory  getPushHistoryByPushEmpNo(String pushEmpNo);
	
	/**
	 * 获取最后一次推送
	 * @param customId
	 * @return
	 */
	public PushHistory getLastPushHistoryByCustomId(String customId);

}
